//
//  imageCell.m
//  AndonImagePicker
//
//  Created by 董文博 on 15/1/7.
//  Copyright (c) 2015年 OA. All rights reserved.
//

#import "ImageCell.h"

@implementation ImageCell

- (IBAction)checkOnClick:(UIButton *)sender{
    if (sender.selected) {
        sender.selected = NO;
    }else{
        sender.selected = YES;
    }
    self.isSelected = sender.selected;
    if ([self.delegate respondsToSelector:@selector(didSelect:index:)]) {
        [self.delegate didSelect:self index:self.index];
    }else{
        NSLog(@"没有实现代理方法");
    }
}

- (void)awakeFromNib {
    // Initialization code
}

@end
